
import lang from "element-plus/lib/locale/lang/zh-cn";
import locale from "element-plus/lib/locale";

import {

  ElButton,

} from "element-plus";

const components = [ElButton];

const plugins = [
  // ElInfiniteScroll,
  // ElLoading,
  ElMessage,
  // ElMessageBox,
  // ElNotification
];

export default (app) => {
    
  locale.use(lang);

  components.forEach((component) => {
    app.component(component.name, component);
  });

  plugins.forEach((plugin) => {
    app.use(plugin);
  });
};
